package com.lovo.service.impl;

import com.lovo.bean.Room;
import com.lovo.dao.RoomDAO;
import com.lovo.dao.impl.RoomDAOImpl;
import com.lovo.service.RoomService;

import java.util.List;

public class RoomServiceImpl implements RoomService {
    private RoomDAO roomDAO = new RoomDAOImpl();
    @Override
    public List<Room> find() {
        return roomDAO.find();
    }
}
